// Symbol polyfill for WeChat Mini Game
if (typeof Symbol === 'undefined') {
  global.Symbol = function Symbol(description) {
    return '__symbol_' + description + '_' + Math.random().toString(36).substr(2, 9);
  };
  
  global.Symbol.iterator = Symbol('Symbol.iterator');
  global.Symbol.asyncIterator = Symbol('Symbol.asyncIterator');
  global.Symbol.hasInstance = Symbol('Symbol.hasInstance');
  global.Symbol.isConcatSpreadable = Symbol('Symbol.isConcatSpreadable');
  global.Symbol.match = Symbol('Symbol.match');
  global.Symbol.replace = Symbol('Symbol.replace');
  global.Symbol.search = Symbol('Symbol.search');
  global.Symbol.species = Symbol('Symbol.species');
  global.Symbol.split = Symbol('Symbol.split');
  global.Symbol.toPrimitive = Symbol('Symbol.toPrimitive');
  global.Symbol.toStringTag = Symbol('Symbol.toStringTag');
  global.Symbol.unscopables = Symbol('Symbol.unscopables');
}
